home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mgr / sparcmgr / demo1.zoo / demo / Makefile next >
Encoding:
Makefile  |  1989-01-24  |  1.3 KB  |  51 lines

  1. #                        Copyright (c) 1987 Bellcore
  2. #                            All Rights Reserved
  3. #       Permission is granted to copy or use this program, EXCEPT that it
  4. #       may not be sold for profit, the copyright notice must be reproduced
  5. #       on copies, and credit should be given to Bellcore where it is due.
  6. #       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
  7.  
  8. #    $Header: Makefile,v 4.6 88/08/22 10:20:28 sau Exp $
  9. #    $Source: /tmp/mgrsrc/demo/RCS/Makefile,v $
  10.  
  11. SUBDIR= icon mac misc msg plot sh tests 
  12. INSROOT=/usr/mgr
  13. INSDIR = $(INSROOT)/bin
  14. START=.
  15. MAKE=make
  16. CPIO=demo.cpio
  17.  
  18. all small fast:
  19.     for i in ${SUBDIR}; do \
  20.     (cd $$i; echo "    making demo/$$i";\
  21.       $(MAKE)  OTHERLIB=$(OTHERLIB) INSROOT=${INSROOT} INSDIR=${INSDIR} $@;\
  22.      cd ..);\
  23.     done    
  24.  
  25. install smallinstall:
  26.     for i in ${SUBDIR}; do \
  27.     (cd $$i; echo "    $@ing demo/$$i";\
  28.       $(MAKE)  OTHERLIB=$(OTHERLIB) INSROOT=${INSROOT} INSDIR=${INSDIR} $@;\
  29.      cd ..);\
  30.     done    
  31.  
  32. clean clobber:
  33.     -for i in ${SUBDIR}; do \
  34.     (cd $$i; echo "    $@ing demo/$$i";\
  35.       $(MAKE)  INSROOT=${INSROOT} INSDIR=${INSDIR} $@;\
  36.      cd ..);\
  37.     done    
  38.  
  39. list:
  40.     @echo ${START}/Makefile
  41.     @echo ${START}/README
  42.     @for i in ${SUBDIR}; do \
  43.         echo "${START}/$$i";\
  44.         if [ -d $$i ]; then \
  45.              (cd $$i; $(MAKE) START=${START}/$$i list; cd ..);\
  46.         fi \
  47.     done    
  48.  
  49. cpio:
  50.     make -s list | cpio -ocv > ${CPIO}
  51.